package com.flyco.modules.sync.service.impl;

import com.flyco.modules.sync.entity.SysSyncDataConfig;
import com.flyco.modules.sync.mapper.SysSyncDataConfigMapper;
import com.flyco.modules.sync.service.ISysSyncDataConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 同步数据配置
 * @Author: flyco
 * @Date:   2023-08-07
 * @Version: V1.0
 */
@Service
public class SysSyncDataConfigServiceImpl extends ServiceImpl<SysSyncDataConfigMapper, SysSyncDataConfig> implements ISysSyncDataConfigService {

    @Autowired
    private SysSyncDataConfigMapper sysSyncDataConfigMapper;

    @Override
    public int addVersion(String bizCode) {
        return sysSyncDataConfigMapper.addVersion(bizCode);
    }
}
